﻿using System;

// Token: 0x020001BC RID: 444
public class CutAct_JumpScript : CutAction
{
	// Token: 0x06000B83 RID: 2947 RVA: 0x00043984 File Offset: 0x00041B84
	public CutAct_JumpScript(CutScene cutScene) : base(cutScene, CUTACT.JUMPSCRIPT)
	{
	}

	// Token: 0x06000B84 RID: 2948 RVA: 0x00043990 File Offset: 0x00041B90
	public CutAct_JumpScript(CutScene cutScene, float time, string loadAssetBundle, string loadScript) : base(cutScene, CUTACT.JUMPSCRIPT, time)
	{
		this.loadAssetBundle = loadAssetBundle;
		this.loadScript = loadScript;
	}

	// Token: 0x06000B85 RID: 2949 RVA: 0x000439AC File Offset: 0x00041BAC
	public override object Clone()
	{
		return new CutAct_JumpScript(this.cutScene);
	}

	// Token: 0x06000B86 RID: 2950 RVA: 0x000439BC File Offset: 0x00041BBC
	public override void Load(TagText.Element element, int order)
	{
		base.Load(element, order);
		this.loadAssetBundle = TagTextUtility.Load_String(element, "script", 0);
		this.loadScript = TagTextUtility.Load_String(element, "script", 1);
	}

	// Token: 0x06000B87 RID: 2951 RVA: 0x000439EC File Offset: 0x00041BEC
	public override void Save(TagText.Element element)
	{
		base.Save(element);
		element.AddAttribute("script", this.loadAssetBundle);
		element.AddAttribute("script", this.loadScript);
	}

	// Token: 0x06000B88 RID: 2952 RVA: 0x00043A18 File Offset: 0x00041C18
	public override void Action(bool skip)
	{
		this.cutScene.JumpScript(this.loadAssetBundle, this.loadScript);
	}

	// Token: 0x04000BC7 RID: 3015
	public string loadAssetBundle;

	// Token: 0x04000BC8 RID: 3016
	public string loadScript;
}
